home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia1.dir / 01183_Script_Griz Shutter Btn < prev    next >
Text File  |  1995-05-21  |  689b  |  37 lines

  1. on mouseDown
  2.   global whichShot, shotTemp
  3.   if whichShot > 2 then 
  4.     exit
  5.   else
  6.     put the movieTime of sprite 48 into shotTemp
  7.     puppetsound "camclick.aif"
  8.     
  9.     put "SnapBtn" into f
  10.     put "SnapBtnHL" into fHL
  11.     hiliter 7, f, fHL
  12.   end if
  13. end
  14.  
  15.  
  16.  
  17. on mouseUp
  18.   global gTheDay, snap1, snap2, whichShot, shotTemp
  19.   if whichShot > 2 then 
  20.     exit
  21.   else
  22.     
  23.     if whichShot = 1 then
  24.       put shotTemp into snap1
  25.       set whichShot = 2
  26.       go frame "Gr1"
  27.     else
  28.       put shotTemp into snap2
  29.       set whichShot = 3
  30.       go frame "Gr2"
  31.     end if
  32.   end if
  33.   startTimer
  34.     repeat while the timer < 10
  35.     end repeat
  36.   puppetsound 0
  37. end